const {override, fixBabelImports, addLessLoader} = require('customize-cra');
module.exports = override(
        fixBabelImports('import', {
            libraryName: 'antd-mobile',
            libraryDirectory: 'es',
            style: true,
        }),
        addLessLoader({
            javascriptEnabled: true,
            modifyVars: {'@primary-color': '#1DA57A'}, //自定义antd主题色
        }),
);
